﻿using Global.Core.Validation;
using System.ComponentModel;

namespace Ducu.SRV.ViewModel.Log
{
    public class OnModel
    {
        public bool RememberMe { get; set; }

        [ZyfeiRequired]
        [DisplayName("用户名")]
        [ZyfeiStringLength(20)]
        public string UserName { get; set; }

        [ZyfeiRequired]
        [ZyfeiStringLength(20, MinimumLength = 4)]
        [DisplayName("密码")]
        public string Password { get; set; }
    }
}
